package com.petsdar.pojo;

import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA
 * User: heroC
 * Date: 2020/6/27
 * Time: 18:27
 * Description: 职位信息类
 * Version: V1.0
 */

@Component
public class Position implements Serializable {
    private static final long serialVersionUID = 62718271130L;
    /** 职位ID */
    private  String positionId;
    /** 职位名称 */
    private String positionName;
    /** 职位信息创建时间 */
    private Date positionCreateTime;
    /** 职位信息更新时间 */
    private Date positionUpdateTime;

    public Position() {
    }

    public Position(String positionId,
                    String positionName,
                    Date positionCreateTime,
                    Date positionUpdateTime) {
        this.positionId = positionId;
        this.positionName = positionName;
        this.positionCreateTime = positionCreateTime;
        this.positionUpdateTime = positionUpdateTime;
    }

    public Position(String positionId,
                    String positionName,
                    Date positionUpdateTime) {
        this.positionId = positionId;
        this.positionName = positionName;
        this.positionUpdateTime = positionUpdateTime;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getPositionId() {
        return positionId;
    }

    public void setPositionId(String positionId) {
        this.positionId = positionId;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public Date getPositionCreateTime() {
        return positionCreateTime;
    }

    public void setPositionCreateTime(Date positionCreateTime) {
        this.positionCreateTime = positionCreateTime;
    }

    public Date getPositionUpdateTime() {
        return positionUpdateTime;
    }

    public void setPositionUpdateTime(Date positionUpdateTime) {
        this.positionUpdateTime = positionUpdateTime;
    }

    @Override
    public String toString() {
        return "Position{" +
                "positionId='" + positionId + '\'' +
                ", positionName='" + positionName + '\'' +
                ", positionCreateTime=" + positionCreateTime +
                ", positionUpdateTime=" + positionUpdateTime +
                '}';
    }
}
